package com.qf.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.blog.entity.Comment;
import com.qf.blog.dto.MyPage;
import com.qf.blog.vo.CommVo;

import java.text.ParseException;
import java.util.List;

/**
 * User: key
 * ClassName:CommentService
 * Date: 2023/6/2
 * Time: 22:34
 * description:
 */
public interface CommentService extends IService<Comment> {
    MyPage<CommVo> commentPage(Integer id, MyPage page);

    List<CommVo> getCommentVoList(Integer id) throws ParseException;

    Long getCommentCount(Integer id);
    public Long queryCommentCountByPostId(Integer postId);
}
